package com.victor.modular.system.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.victor.common.persistence.model.Audience;
import com.victor.modular.system.transfer.AudienceDto;
import com.victor.modular.system.transfer.AudienceImport;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author victor
 * @since 2018-09-10
 */
public interface AudienceDao extends BaseMapper<Audience> {
    List<Map<String, Object>> list(@Param("params") AudienceDto params);
    Map<String, Object> queryOne(@Param("id")Integer id);
    void insertAudienceDatas(@Param("list") List<Audience> list);

}